﻿<UserControl xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"  xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  x:Class="GraphDrawer.Menu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    xmlns:local="clr-namespace:GraphDrawer"
    Width="780" Height="600">
    <Grid x:Name="LayoutRoot" Background="White" ShowGridLines="True">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="20"></RowDefinition>
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
                <ColumnDefinition x:Name="LeftPanelSize" Width="170"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition x:Name="RigthPanelSize" Width="158"/>
            </Grid.ColumnDefinitions>

            <toolkit:DockPanel x:Name="LeftPanel"  HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Canvas.ZIndex="1">
                <toolkit:TreeView HorizontalAlignment="Stretch">
                    <toolkit:TreeViewItem Header="Social Network Source" Selected="Network_Selected">
                        <toolkit:TreeViewItem Header="Import ..." MouseLeftButtonDown="ImportNetwork_MouseLeftButtonDown" />
                        <toolkit:TreeViewItem x:Name="Generate" Header="Generate ..." MouseLeftButtonDown="Generate_MouseLeftButtonDown"/>
                        <toolkit:TreeViewItem x:Name="OpenQuest" Header="Find with ..." MouseLeftButtonDown="OpenQuest_MouseLeftButtonDown" />
                    </toolkit:TreeViewItem>
                    <toolkit:TreeViewItem x:Name="DiseaseNode" Header="Disease Model Editor" Selected="Disease_Selected" IsEnabled="False">
                        <toolkit:TreeViewItem Header="Import ..." />
                        <toolkit:TreeViewItem Header="Open ..." />
                        <toolkit:TreeViewItem Header="Create ..." />
                    </toolkit:TreeViewItem>
                    <toolkit:TreeViewItem x:Name="setup"  Header="Setup Simulation" IsEnabled="False" Selected="setup_Selected">
                    </toolkit:TreeViewItem>
                    <toolkit:TreeViewItem x:Name="Simulate" Header="Simulation"  IsEnabled="False" IsExpanded="True">
                        <toolkit:TreeViewItem Header="Layout" Selected="Simulate_Selected"/>
                        <toolkit:TreeViewItem Header="Geo-contextual" Selected="VirtualEarth_Selected"/>
                    </toolkit:TreeViewItem>
                    <toolkit:TreeViewItem Name="report" Header="Report" Selected="Report_Selected" IsEnabled="False">
                    </toolkit:TreeViewItem>
                </toolkit:TreeView>
                <Rectangle Width="10" Fill="Black" VerticalAlignment="Stretch" />
            </toolkit:DockPanel>
            <Canvas Name="ContentHost" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="1" Grid.Row="0" Canvas.ZIndex="0">                
            </Canvas>
			<Grid x:Name="HelperHost" Width="158" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="2" Grid.Row="0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="20" />
                    <RowDefinition x:Name="WindowSize" Height="*" />
                </Grid.RowDefinitions>

                <Button x:Name="FullScreen" Click="FullScreen_Click" Style="{StaticResource StartFullScreen}" Content="FullScreen" Grid.Row="0"></Button>
                    
            </Grid>
        </Grid>
    </Grid>
</UserControl>
